Hello, Android (for Embach Mark) by Ed Burnette

Hello, Android (for Embach Mark) by Ed Burnette

Author:Ed Burnette
Language: eng
Format: epub
Tags: Pragmatic Bookshelf
ISBN: 978-1-68050-037-0
Publisher: The Pragmatic Bookshelf, LLC (573151)


The Never-Ending Scroller

We want a background image to be displayed on the opening screen. It will pan slowly toward the upper-left corner of the display. No seams can be visible, and the animation has to be very smooth. The figure shows what it will look like.

Adding the View

To accomplish this we’re going to make a new type of view called ScrollingView and make it cover the entire screen behind the game selection menu. Edit res/layout/activity_main.xml and insert this block as the first child of the FrameLayout element:

ticTacToev5/src/main/res/layout/activity_main.xml

​ ​<org.example.tictactoe.ScrollingView​



Download



Copyright Disclaimer:
This site does not store any files on its server. We only index and link to content provided by other sites. Please contact the content providers to delete copyright contents if any and email us, we'll remove relevant links or contents immediately.